.left-bar {
  padding-bottom: 20px;
  background-color: var(--theme-side-bg);
  transition: width 0.3s;
}
.left-bar.close {
  width: 68px;
}
.left-bar.open {
  width: 260px;
}

/* 关闭状态样式 */
.lb-close {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-icon {
  width: 44px;
  height: 44px;
  font-size: 44px;
  cursor: pointer;
}

.lb-icon-button {
  width: 28px;
  height: 28px;
  color: rgb(139, 139, 139);
  cursor: pointer;
}

.bottom-info {
  text-align: center;
  .el-icon-folder {
    // margin-bottom: 12px;
  }
}

/* 开启状态样式 */
.lb-open-wrap {
  height: 100%;
  .lb-open {
    display: flex;
    flex-direction: column;

    height: 100%;
  }
}

.lb-title-wrap {
  // padding: 25px 10px 34px 20px;
  padding: 0 10px 0 20px;
  .lb-title svg {
    height: 26px;
  }

  .lb-title {
    // width: 60%;
    flex-grow: 1;
    .icon-logo__text {
      width: 100%;
      background-size: 340px 145px;
      background-position: -80px;
    }
  }
}

.lb-new-chat-wrap {
  margin-bottom: 34px;
  .lb-new-chat {
    height: 44px;
    line-height: 44px;
    margin: 0 2px 0 14px;
    padding: 0 10px;
    color: var(--theme-main);
    border-radius: 14px;
    background-color: rgb(219, 234, 254);
    cursor: pointer;
    &:hover {
      background-color: #c6dcf8;
    }
    svg {
      margin-right: 10px;
    }
  }
}

.lb-chat-records-wrap {
  padding: 0 10px;
  overflow: auto;
  .lb-chat-records {
    .cr-date {
      color: #555;
      margin: 6px 0 6px -6px;
      padding: 0 10px 0 16px;
      font-size: 13px;
      font-weight: 600;
      line-height: 18px;
    }
    .cr-item {
      height: 38px;
      line-height: 38px;
      padding: 0 10px;
      color: var(--theme-text-1);
      border-radius: 12px;
      cursor: pointer;
    }
    .cr-item:hover {
      background-color: rgb(239, 246, 255);
    }
  }
}

.lb-userinfo-wrap {
  padding: 10px 12px;
  overflow: hidden;
  .lb-userinfo {
    display: block;
    padding: 8px;
    height: 32px;
    line-height: 32px;
    font-size: 16px;
    color: var(--theme-text-2);
    cursor: pointer;
    border-radius: 12px;

    .el-icon {
      display: inline-block;
      width: 32px;
      height: 32px;
      vertical-align: super;
    }

    span {
      margin-left: 10px;
      vertical-align: 8px;
    }

    &:hover {
      background-color: rgb(239, 246, 255);
    }
  }
}

.user-setting {
  .us-item {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    color: rgb(64, 64, 64);

    .el-icon-user,
    .icon-exit {
      width: 24px;
    }

    .icon-exit {
      svg {
        display: block;
      }
    }
    &:hover {
      background-color: rgba(0, 0, 0, 0.04);
    }
  }
}
